home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / pdftops / xpdf / c / GfxTable
Text File  |  1996-06-09  |  389b  |  17 lines

  1.  
  2. /* This file added by snb94r@ecs.soton.ac.uk to bypass the cfront 3.1 bug
  3.  * which stops the va_arg macro being used.  It relies on sizeof(int)
  4.  * being equal to sizeof(enum TchkType).
  5.  */
  6.  
  7. #include <stdarg.h>
  8. #include "GfxTable.h"
  9.  
  10. void enter_Gfx_ops(int *t, int count, va_list ap)
  11. {
  12.         int i;
  13.         for (i = 0; i<count; ++i) {
  14.                 *t++ = va_arg(ap, int);
  15.         }
  16. }
  17.